package org.hxyjs.dao;


import org.hxyjs.entity.MemberType;
import org.hxyjs.page.PageInfo;
import java.util.List;

public interface MemberTypeDao {
    public List<MemberType>  getAllMemberTypes()  throws Exception;
    public MemberType  getMemberTypeByUno(String mtno)  throws Exception;
    public List<MemberType> getMemberTypesByPage(PageInfo pageInfo);
    //增删改的返回值都是整数
    Integer deleteMemberType(String mtno)  throws Exception;
    Integer updateMemberType(MemberType memberType)  throws Exception;
    Integer addMemberTypeByUno(MemberType memberType)  throws Exception;

    MemberType getMemberTypesWithOrders(String mtno)throws Exception;

    MemberType getAccountByAccountName(String mtno)throws Exception;



}
